#pragma once
#include "DisplayTransform.h"
class DisplayContext;
class DisplayItem
{
public:
	DisplayItem();
public:
	DisplayTransform RenderTransform;

public:
	virtual void Render(DisplayContext &dislpayEngine)=0;
	virtual void Create(DisplayContext &dislpayEngine)
	{
		m_displayContext=&dislpayEngine;
	}

protected:
	DisplayContext* m_displayContext;
};

